<?php
global $CONFIG;

$form_body = elgg_view('input/text', array('internalname' => 'key', 'class' => 'searchfield'));
$form_body .= elgg_view('input/submit', array('value' => 'Search', 'class' => 'searchbutton'));

echo elgg_view('input/form', array(
    'action' => $CONFIG->wwwroot.'pg/'.WHITEBOARD_TP_PAGE_HANDLER.'/search',
    'method' => 'get',
    'body' => $form_body,
    'internalid' => 'wb_searchform'
));
?>